Skip to content

ci: pin GitHub Actions to server SHAs#2016

Open
mpartipilo wants to merge 1 commit intomainfrom
security/pin-actions-and-linters
Open

ci: pin GitHub Actions to server SHAs#2016
mpartipilo wants to merge 1 commit intomainfrom
security/pin-actions-and-linters

Conversation

@mpartipilo
Copy link
Copy Markdown

@mpartipilo mpartipilo commented Apr 16, 2026

Summary

  • Pin all uses: refs in GitHub Actions workflows to the same commit SHAs used by weaviate/weaviate, so this client stays in lockstep with the server
  • Preserve the tag (e.g. # v6) as a trailing comment for readability

Context

Initial consolidation pass. Going forward, GitHub's repo-level "Require actions to be pinned to a full-length commit SHA" policy (shipped 2025-08-15) will enforce SHA pinning at execution time for every workflow — so no custom linter is needed in this repo.

The scope was originally broader (included linter_actions_pinned.sh, linter_hidden_unicode.sh, and a pr-security-lint.yaml workflow). Those are dropped here: the native policy makes the SHA linter redundant, and the hidden-Unicode scan will return in a follow-up that delegates to a shared composite action in weaviate/weaviate.

Test plan

  • CI workflows run and pass on this branch

🤖 Generated with Claude Code

@mpartipilo mpartipilo requested a review from a team as a code owner April 16, 2026 12:55
Copy link
Copy Markdown

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.92%. Comparing base (78fa5f7) to head (4ceb15b).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2016      +/-   ##
==========================================
- Coverage   87.95%   87.92%   -0.03%     
==========================================
  Files         280      280              
  Lines       21664    21666       +2     
==========================================
- Hits        19054    19050       -4     
- Misses       2610     2616       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Align all uses: refs to the immutable commit SHAs used by
weaviate/weaviate. Major versions bumped where necessary:
checkout v6, docker/login v4, upload-artifact v7,
download-artifact v8, cache v5. Tags preserved as comments.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mpartipilo mpartipilo force-pushed the security/pin-actions-and-linters branch from 4ceb15b to b00cb9a Compare April 20, 2026 12:40
@mpartipilo mpartipilo changed the title feat: pin GitHub Actions to SHA hashes and add security linters ci: pin GitHub Actions to server SHAs Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants